﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaffoHat.Core
{
    public class Player
    {
        public Player(string name)
        {
            if (String.IsNullOrEmpty(name))
                throw new ArgumentNullException("Name is required");

            this.Name = name;
            this.GlassesDrink = 0;
        }

        public string Name { get; private set; }

        public Int16 GlassesDrink { get; private set; }

        public void Drink()
        {
            GlassesDrink++;
        }
    }
}
